<template>
	<view>
		<view>
			<uni-nav-bar shadow left-icon="left" dark title="采购商功能" @clickLeft="back()" />
		</view>
		<view class="grid-body">
			<uni-section title="供应商管理" type="line"/>
		  <uni-grid :column="4" :showBorder="false">
		    <uni-grid-item>
		      <view class="grid-item-box" @click="purchaser_list()">
		        <uni-icons type="staff-filled" size="40"></uni-icons>
		        <text class="text">供应商列表</text>
		      </view>
		    </uni-grid-item>
			<uni-grid-item>
			  <view class="grid-item-box" @click="purchaser_list_register()">
			    <uni-icons type="auth-filled" size="40"></uni-icons>
			    <text class="text">注册审核</text>
			  </view>
			</uni-grid-item>
			<uni-grid-item>
			  <view class="grid-item-box" @click="performance_management()">
			    <uni-icons type="person-filled" size="40"></uni-icons>
			    <text class="text">升降级审核</text>
			  </view>
			</uni-grid-item>
			
			
		  </uni-grid>
		  
		  
		  <uni-section title="采购合同" type="line"/>
		  <uni-grid :column="4" :showBorder="false">
		  			<uni-grid-item>
		  			  <view class="grid-item-box" @click="contract()">
		  			    <uni-icons type="wallet-filled" size="40"></uni-icons>
		  			    <text class="text">合同查看</text>
		  			  </view>
		  			</uni-grid-item>
		  			
		  			<uni-grid-item>
		  			  <view class="grid-item-box" @click="contract_review()">
		  			    <uni-icons type="calendar-filled" size="40"></uni-icons>
		  			    <text class="text">合同审核</text>
		  			  </view>
		  			</uni-grid-item>
		  </uni-grid>
		  	  <uni-section title="采购询价" type="line"/>
		  <uni-grid :column="4" :showBorder="false">
		   
		  			<uni-grid-item>
		  			  <view class="grid-item-box" @click="inquiry_review()">
		  			    <uni-icons type="calendar" size="40"></uni-icons>
		  			    <text class="text">比价审核</text>
		  			  </view>
		  			</uni-grid-item>
		  			
		  			<uni-grid-item>
		  			  <view class="grid-item-box" @click="inquiry_review_list()">
		  			    <uni-icons type="chatbubble" size="40"></uni-icons>
		  			    <text class="text">比价单查询</text>
		  			  </view>
		  			</uni-grid-item>
		  </uni-grid>
		  
		  
		  
		  
		</view>
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			back(){
					this.$tab.reLaunch('/pages/work/index')
			},
			purchaser_list(){
				 this.$tab.reLaunch('/pages/work/purchaser/purchaser_list')
			},
			contract(){
				 this.$tab.reLaunch('/pages/work/purchaser/contract')
			},
			contract_review(){
				 this.$tab.reLaunch('/pages/work/purchaser/contract_review')
			},
			inquiry_review(){
				 this.$tab.reLaunch('/pages/work/purchaser/inquiry_review')
			},
			inquiry_review_list(){
				 this.$tab.reLaunch('/pages/work/purchaser/inquiry_review_list')
			},
			performance_management(){
				this.$tab.reLaunch('/pages/work/purchaser/performance_management')
			},
			purchaser_list_register(){
				this.$tab.reLaunch('/pages/work/purchaser/purchaser_list_register')
			},
			
		}
	}
</script>

<style>
 page {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    background-color: #fff;
    min-height: 100%;
    height: auto;
  }
  view {
    font-size: 14px;
    line-height: inherit;
	background-color: #fff;
  }
  .text {
    text-align: center;
    font-size: 26rpx;
    margin-top: 10rpx;
  }
  .grid-item-box {
    flex: 1;
    /* #ifndef APP-NVUE */
    display: flex;
	background-color: #fff;
    /* #endif */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 0;
  }

</style>
